package com.ssf.domain.strategy.service.armory;

/**
 * 策略抽奖调度
 */
public interface IStrategyDispatch {
    /**
     * 根据抽奖策略进行随机抽奖
     * @param strategyId 策略id
     * @return 奖品id
     */
    public int lottery(Long strategyId);

    /**
     * 根据抽奖策略和当前积分值来随机获取一个奖品id
     * @param strategyId 策略id
     * @param ruleWeightValue 积分值
     * @return
     */
    public int lottery(Long strategyId,String ruleWeightValue);
}
